<?php defined('SYSPATH') or die('No direct script access.');
/**
 * Controller_Welcome
 *
 * Steuert den Ablauf des /welcome Strangs, Koordinniert die Statischen Seiten (Kontakt, etc)
 *
 * @copyright m.reschke
 * @author m.reschke
 * @version $Id$
 */

class Controller_Welcome extends Controller_Template_Website
{

    public function action_index()
    {
//        $model = new Model_Image();
//        $images = $model->getAllImages();
        $this->template->title = 'Home';
        $this->template->content = View::factory('welcome/index');
        $this->template->foot = View::factory('template/foot');
//        $this->template->content = View::factory('welcome/index')->set('images', $images);
    }

    public function action_remote()
    {
        $this->template->title = 'Home Remote Upload';
        $this->template->content = View::factory('welcome/remote');
        $this->template->foot = View::factory('template/foot');
    }

    public function action_multi()
    {
        $this->template->title = 'Home Multi Upload';
        $this->template->content = View::factory('welcome/multi');
        $this->template->foot = View::factory('template/foot');
    }

    public function action_about()
    {
        $this->template->title = 'About';
        $this->template->content = View::factory('welcome/about');
    }

    public function action_contact()
    {
        $this->template->title = 'Contact';
        $this->template->content = View::factory('welcome/contact');
    }

}
